/* 
 * File:   structureRPG.h
 * Author: Groupe (Clément;Raphaël)
 *
 * 
 */

typedef struct {
    int affichage; //1 pour mur, 0 pour sol
    int contenu;
} screen;

typedef struct UserData UserData;

struct UserData {
    EsdlSprite* marker;
    EsdlSprite* wallSprite[WIDTH *INCREASE][LENGTH*INCREASE ];
    screen map[WIDTH][LENGTH][NUMBER_MAP];
    int dx;
    int dy;
    int dz;
    int memoryX;
    int memoryY;
};

typedef struct
{
   int ligne;
   int colonne;
}coordonnee;



typedef struct {
    int positionX;
    int positionY;
    int keyOrNot;
} PLAYER;

typedef struct peopleFond peopleFond;

struct peopleFond{
    EsdlSprite* vador;
    EsdlSprite* c3po;
    EsdlSprite* yoda;
    EsdlSprite* ecran;
};







